*{
    margin: 0;
    padding:0 ;
    box-sizing: border-box;
    font-size: 14px;
}
a {
    text-decoration: none;
    direction: inherit;
}
li {
    list-style: none;
}
img {
    display: block;
}
@radio:100vw / 375;
/* top */
.top {
    width: 375px;
    height: 45px;
    position: fixed;
    top: 0px;
    left: 0;
}
.top .top_close {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 18%;
    height: 100%;
    background-color: #000;
    float: left;
}
.top .top_close .close {
    width: 12px;
    height:12px;
    float: left;
    margin-left: 4px;
}
.top .top_close .logo {
    width: 30px;
    height:30px;
    float: left;
    
}
.top .jd_open {
    width: 59%;
    height: 100%;
    float: left;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 45px;
}
.top .open {
    width: 23%;
    height: 100%;
    background-color: red;
    float: left;
    text-align: center;
    line-height: 45px;
    color: #fff;
}
/* head */
.header {
    width: 375px;
    height: 44px;
    background-color: #C72519;
    margin-top: 45px;
}
.header .cate{
    width: 10%;
    height: 100%;
    position: relative;
    float: left;
}
.header .cate img {
    width: 20px;
    height: 18px;
    position: absolute;
    top: 14px;
    left: 15px;
}
.header .search {
    position: relative;
    width: 75%;
    height: 30px;
    float: left;
    outline: 0;
    border: 0;
    border-radius: 15px;
    margin-top: 6px;
    margin-left: 5px;
    background-color: #fff;
}
.header .search::before{
    content: "";
    position: absolute;
    top:8px ;
    left: 14px;
    width: 20px;
    height: 15px;
    background: url("../images/jd.png") 0 0 / 20px;
}
.header .search::after{
    content: "";
    position: absolute;
    top: 8px;
    left: 51px;
    width: 15px;
    height: 15px;
    background: url("../images/jd-sprites.png") -83px 0 /200px;
}
.header .search .line {
    width: 1px;
    height: 15px;
    background-color: #ccc;
    margin-left: 42px;
    margin-top: 8px;
}
.header .login {
    width: 10%;
    height: 100%;
    float: left;
}
.header .login span {
    display: inline-block;
    margin-left: 9px;
    color: #fff;
    line-height: 44px;
    text-align: center;
}
.banner , .banner2 {
    width: 100%;
}
.banner img{
    width: 100%;
}
.banner2 img{
    width: 33.33%;
    float: left;
}
/* goods-list */
.good-list {
    width: 100%;
    
}
.good-list ul li{
    background-color: rgb(231, 228, 228);
    width: 20%;
    height: 75 * @radio;
    float: left;
    text-align: center;
    padding-top: 8 * @radio;
}
.good-list ul li img{
    width: 45 * @radio;
    height: 45 * @radio;
    margin: 0 auto;

}
.good-list ul li p{
    color: #333;
    /* height: 20px; */
    font-size: 12* @radio;
}
 /* 新人专享 */
 .news {
     width: 100%;
     float: left;
     padding-bottom: 10px;
     background-color: rgb(231, 228, 228);
 }
 .news img{
    width: 47%;
    float: left;
    
 }
 .news .news1 {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 10px;
 }
 .news .news2 {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-right: 10px;
 }
 .news_two {
     width: 100%;
     height: 60px;
     float: left;
     background-color: rgb(231, 228, 228);
 }
 .news_two img{
     width: 100%;   
 }
 /* 为你推荐 */
 .recommend {
     width: 100%;
     float: left;
     background-color: rgb(231, 228, 228);
 }
 .recommend .title img {
     width: 100%;
     float: left;
 }
 .recommend .lists ul li {
     width: 49%;
     height: 245px;
     padding: 5px 10px;
     float: left;
     background-color: #fff;
     margin: 2px 2px 2px 0px;
 }
 .recommend .lists ul li img {
     width: 100%;
 }
 .recommend .lists ul li .lists-item {
    width: 100%;
    margin: 10px 0;
 }
 .recommend .lists ul li .lists-item img{
     width: 15%;
     float: left;
     vertical-align: middle;
     margin: 0 2px;
 }
 .recommend .lists ul li .lists-item img:first-child{
     margin-top: 3px;
 }
 .recommend .lists ul li .lists-item span{
     font-size: 10px;
     /* white-space: nowrap; */
     overflow: hidden;
     text-overflow: ellipsis;
     /* display: -webkit-box; */
     -webkit-line-clamp:2 ;
 }
 .recommend .lists ul li .lists-price span:first-child{
     /* display: inline-block; */
     float: left;
     color: red;
     font-size: 12px;
     font-weight: 400;
 }
 .recommend .lists ul li .lists-price span:last-child{
    /* display: inline-block; */
    float: right;
    color:gray;
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
    border: 1px solid gray;
    border-radius: 3px;
}
/* footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 375px;
    height: 75px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    margin-top: 10px;
}
.footer ul li {
    width: 20%;
    float: left;
}
.footer ul li img {
    width: 100%;
}